package com.nanhai.buddhist.college.module.collegebase.convert.accommodationbuilding;

import java.util.*;

import com.nanhai.buddhist.college.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.accommodationbuilding.vo.*;
import com.nanhai.buddhist.college.module.collegebase.dal.dataobject.accommodationbuilding.AccommodationBuildingDO;

/**
 * 楼栋管理 Convert
 *
 * @author AKai
 */
@Mapper
public interface AccommodationBuildingConvert {

    AccommodationBuildingConvert INSTANCE = Mappers.getMapper(AccommodationBuildingConvert.class);

    AccommodationBuildingDO convert(AccommodationBuildingCreateReqVO bean);

    AccommodationBuildingDO convert(AccommodationBuildingUpdateReqVO bean);

    AccommodationBuildingRespVO convert(AccommodationBuildingDO bean);

    List<AccommodationBuildingRespVO> convertList(List<AccommodationBuildingDO> list);

    PageResult<AccommodationBuildingRespVO> convertPage(PageResult<AccommodationBuildingDO> page);

    List<AccommodationBuildingExcelVO> convertList02(List<AccommodationBuildingDO> list);

}
